create or replace trigger trg_prj_act
  before insert on PROJECT_ACTIVITIES
  for each row
declare
  -- local variables here
begin
  select seq_prj_act.nextval into :new.id from dual;
end trg_prj_mem;
/
